package diploma.kisel.modelas.repository.api;

import java.util.List;

import diploma.kisel.modelas.domain.Program;
import diploma.kisel.modelas.domain.ProgramType;

public interface ProgramRepository {
	
	public List<Program> findAll();
	
	public List<Program> findByPrice(int minPrice, int maxPrice);
	
	public Program findByid(int id);
	
	public Program save(Program program);
	
	public Program update(Program program);
	
	public void remove(Program program);
	
	public List<Program> findByPriceAndType(int minPrice, int maxPrice, ProgramType type);

}
